
From time to time people ask me about the availability of the Cluster Toga based on Fruit source code. 
I decided to publish the source code now. 

Cluster Toga is a Young Brothers Wait Concept (YBWC) parallelized version of Toga based on Fruit capable 
to run on a high performance cluster and participated for example in the 17th International Paderborn 
Computer Chess Championship (IPCCC) 2007 and the 16th World Computer-Chess Championship (WCCC) 2008 in Beijing. 

In fact Cluster Toga is a stand 
alone base engine of the GridChess system which participated for example in the 15th World Computer-Chess 
Championship (WCCC) 2007 in Amsterdam but is limited to use a single cluster. Up to now Cluster Toga has 
been tested under several Linux derivatives, 

Windows Server 2003 Compute Cluster Edition and Windows Clusters built from COTS (commodity off-the-shelf) 
components. If you are interested, a short description about my project and how to receive the source code 
can be found at

http://www.informatik.uni-hamburg.de/TIS/index.php/phd-projects/79

Have fun!

Kai Himstedt



--------------------------------------------------------------------


I was able to build a 64 bit version easily enough (libraries mpich2.lib and ws2_32.lib added).

How do I actually run it so that it is recognized as a chess engine?


Dann Corbit


--------------------------------------------------------------------


Depends on your MPI environment.
Use mpiexec .exe as UCI engine.

Something like:
mpiexec -n 8 -machinefile <filename> -wdir <working_directory> ClusterToga.exe

or

mpiexec -n 8 -host <host_name> -wdir <working_directory> ClusterToga.exe



Kai Himstedt


--------------------------------------------------------------------


I made a batch file that contained:
Code:

"c:\Program Files\MPICH2\bin\mpiexec.exe" -np 4 c:\chess\winboard\cluster-toga\cluster-toga.exe


and that works from the command line:

some output:
info depth 18 seldepth 42 time 49874 nodes 141518598 nps 2837523
info depth 19
info currmove g1f3 currmovenumber 1

However, it requests logon information that the GUI does not know how to supply. Is there a simple 
way to store the credentials so that it does not ask for them?

Sorry to be such a pest.



Dann Corbit

-------------------------------------------------------------------


try something like
mpiexec -register


Kai Himstedt


-------------------------------------------------------------------


Thanks. I'll try a Scorpio Cluster verses Toga Cluster tournament for fun.



Dann Corbit


-------------------------------------------------------------------



in Arena GUI, I was able to get it working Smile
First step was mpi intstallation. Then in command shell" mpiexec -register" for creating user account.
Then in Arena creating a UCI engine from the Cluster Toga.exe.
Important was to change the comand line into mpi path: C:\Program Files\MPICH2\bin\mpiexec.exe
Then I wrote in comand line parameter : -n 2 C:\Users\Think\Desktop\cluster-toga\Windows\ClusterToga-14b5c-64-ja.exe

And now it working with 2 cpu Smile

regards, Clemens 


---------------------------------------------------------------------


Hello again

I found the solution (with help from Mathias Feist, Chess Base)how to get it working in Fritz gui easy.
The uci file must look like this :

[ENGINE]
Name=ClusterToga 1.4 beta5c JA
Author=Thomas Gaksch, Kai Himstedt, Fabien Letouzey, Dr. habil. Ulf Lorenz
Filename=C:\Program Files\MPICH2\bin\mpiexec.exe
Parameter=-n 2 C:\Users\Think\Desktop\cluster-toga\Windows\ClusterToga-14b5c-64-ja.exe

(still user registration in mpi needed)

This works with 2 cpus !!

best regards, Clemens 




-----------------------------------------------------------------------


Hi Clemens-

this should work:

Parameter=-pwdfile pwd.txt -n 2 C:\Users\Think\Desktop\cluster-toga\Windows\ClusterToga-14b5c-64-ja.exe

pwd.txt: put full account on first line and password on second line
ex:

domain/user
password

you can use the machinefile parameter to contain host names:
Parameter=-n 2 -pwdfile pwd.txt -machinefile machines.txt C:\Users\Think\Desktop\cluster-toga\Windows\ClusterToga-14b5c-64-ja.exe

earth
mars

or simply specify hosts on the command line:
Parameter=-np 2 -pwdfile pwd.txt -hosts earth mars C:\Users\Think\Desktop\cluster-toga\Windows\ClusterToga-14b5c-64-ja.exe


